<h2>レシピ情報の<?php echo $isEdit?'編集':'新規追加' ?></h2>

<?php echo $this->Form->create('Recipe'); ?>

<?php echo $this->Form->input('r_name'); ?>

<?php echo $this->Form->file('r_photo'); ?>

<?php echo $this->Form->input('r_material'); ?>

<?php echo $this->Form->input('r_process'); ?>

<?php echo $this->Form->input('r_descript'); ?>

<?php
if($isEdit){
	echo $this->Form->input('id',array('type'=>'hidden'));
}
 ?>

<?php echo $this->Form->end($isEdit?'編集':'追加'); ?>